<template>
    <div id="nav-top">
        <a href="" class="nav-item nav-top-logo"><img src="../../assets/logo.png" alt=""></a>
<!--        <ul>-->
<!--            <li><router-link :to="{name:'python'}">python</router-link></li>-->
<!--        </ul>-->
    </div>
</template>

<script>
    export default {
        name: 'topNav'
    }
</script>
<style scoped>
    #nav-top{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        height: 48px;
        background: #4d97fe;
        padding: 0 0 0 15px;
        color: #fff;
    }
    .nav-item{
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .nav-top-logo {
        display: -webkit-inline-box;
        display: -webkit-inline-flex;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        cursor: pointer;
        position: relative;
        height: 100%;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
    }
    {
        display: flex;
        align-items: center;
        height: 100%;
    }
    .nav-top-logo img {
        height: 46px;
        margin-right: 20px;
    }
    ul{

    }
</style>
